
%Formelnummerierung formatieren
\renewcommand{\theequation}{\arabic{equation}}

%%%%%%%%%%%%%%%%%
%farben definieren
\definecolor{lightblue}{rgb}{0.3,0.4,1}
\definecolor{orange}{rgb}{1,0.5,0}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Erstellt eine Box, die den unterstrichenen Text "Definition:" enthält und den
% angegebenen Text
\ifdefined\Definition
  
\else
  \newcommand{\Definition}[1]{
\begin{flushleft}
\setlength{\fboxsep} {0.2cm}
\setlength{\fboxrule}{0.35mm} 
\fbox{\parbox{15cm}{ 
\underline{Definition: }\\[0.3em]{#1}}}
\end{flushleft}
}
\fi

%Erstellt eine Box, die den unterstrichenen Text "Satz:" enthält und den
% angegebenen Text
\ifdefined\Satz
\else
\newcommand{\Satz}[1]{
\begin{flushleft}
\setlength{\fboxsep} {0.2cm}
\setlength{\fboxrule}{0.25mm} 
\fbox{\parbox{15cm}{ 
{#1}}}
\end{flushleft}
}
\fi



%Schreibt das hellblau unterstrichene Wort "Beispiel:"
\ifdefined\Bsp
\else
\newcommand{\Bsp}{
{\color{lightblue}{\underline{Beispiel:}\\[0.1em]}}
}
\fi


%Schreibt das unterstrichene Wort "Beweis:"
\ifdefined\Beweis
\else
\newcommand{\Beweis}{
\underline{Beweis:}\\[0.1em]
} 
\fi


%Die Standartmengen natürliche,reelle,ganze, ... Zahlen
\ifdefined\Rm
\else
\newcommand{\Rm}{$\mathbb{R} $}
\fi

\ifdefined\Cm
\else
\newcommand{\Cm}{$\mathbb{C} $}
\fi


\ifdefined\Zm
\else
\newcommand{\Zm}{$\mathbb{Z} $}
\fi

\ifdefined\Nm
\else
\newcommand{\Nm}{$\mathbb{N} $}
\fi

\ifdefined\Qm
\else
\newcommand{\Qm}{$\mathbb{Q} $}
\fi

%Das selbe, wenn man sich bereits im mathe-modus befindet
\ifdefined\R
\else
\newcommand{\R}{\mathbb{R} }
\fi

\ifdefined\C
\else
\newcommand{\C}{\mathbb{C} }
\fi


\ifdefined\Z
\else
\newcommand{\Z}{\mathbb{Z} }
\fi


\ifdefined\N 
\else
\newcommand{\N}{\mathbb{N} }
\fi


\ifdefined\Q
\else
\newcommand{\Q}{\mathbb{Q} }
\fi

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifdefined\mycolor 
\else
\definecolor{mycolor}{rgb}{.82156, .82156, .82156}
\fi

\ifdefined\mycolorbox 
\else
\newcommand*\mycolorbox[1]{%
\colorbox{mycolor}{\hspace{0.1em}#1\hspace{0.1em}}}
\fi
